fix some part of source which violated Google JavaScript Style Guide