fix some bugs
v0.6 - bug fixes & add minified file