added minified version of script