update javascript info