remove destructuring assignment code, add minified version