update javascript.