move .js off index page