minified version with google closure using simple optimization