adds minified script
updates documentation