updating js from master
fixing sync server setting