update javascript resource paths