update javascript tag