update javascript note