update javascript example