minified version now works with google compiler