modify page to use local javascripts