Fixed the javascript on a few pages