added minified version and test examples