use jshint for style checking; fix wrong function name "set_extended_clock" => "add_extended_clock"
update & delete js libs