Fix for js equality bug
Merge pull request #869 from isuftin/master

Fix for js equality bug