Updated version in package.json
Added a string comparison function and fixed #207