remove all javascript for first page