You can enable Javascript on a Mac by going into your browser's Preferences menu. In Safari, you'll find the Javascript option in the Security tab.
You should enable JavaScript on an iPad so that websites you access function properly and so features like animations and videos work.
JavaScript is a double-edged sword: It adds lots of useful features to your favorite websites, such as interactive maps, loading images in the background, refreshing content on a site without ...