Fix has.js bug
Merge pull request #33 from gildean/master

Fix has.