use browserify
rewrite with es5
rename lib -> dist, src -> lib
version bump to 0.1.2