Using esprima and escodegen for parsing code instead of uglify