update javascript file