added minified version, closes #6