You should enable JavaScript on an iPad so that websites you access function properly and so features like animations and videos work.
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.
The world wide web basically runs on JavaScript, HTML, and CSS. Unfortunately, JavaScript lacks several features that would help developers use it for large-scale applications. Enter TypeScript.
In the major release, the browser mode is stable, which recently offers Visual Regression Testing to uncover optical changes.