Adding custom javascript to sage 10 theme

Unlisting in favor of the new topic that was created at How to add Javascript the right way in Sage10