Fixed issue #17 and updated the minified version of the code.