update some JS