MOD: modify some js file code style