update api to match uglify-js@2.x
1.0.1