add minified version, help minifier
update doc
fixing tests