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.
While the exact cause of this error is not known, it is worth checking if you have fulfilled all the system requirements for Java. If you are using a Windows system ...
You should enable JavaScript on an iPad so that websites you access function properly and so features like animations and videos work.