added a minified js version