changing JS for a page to allow for search engine testing