add locking functionality
update README
update minified version