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.
A cache is a special storage space for temporary files that makes a device, browser, or app run faster and more efficiently.