Fix issue with numeric equality pointed out by Jon Pretty.

This commit standardizes on using Double precision for equality.
This is consistent with how Javascript would actually interpret
these values.

Fixes #18.
Merge pull request #19 from non/bug/equality-issue

Fix issue with numeric equality pointed out by Jon Pretty.