JS code style was enhanced.