update javascript source