updated docs and minified version