jtong update javascript and ruby