When the page refreshes, you should see a hidden JavaScript web part in the design tab.
Check the front end of the sites pages to be sure the JavaScript is being rendered in the source.