Added minified version. Added more documentation