Switching JavaScript on depends on your browser and version, but usually it's an option from the drop down menus at the top - often Tools and Options
If you have any difficulty, refer to the Help menu on your browser