Modify some syntax problem. Remove sugar.js library.