update some javascripts

Signed-off-by: Yuan Cao <mail@caoyuan.me>