Fix Numeric#== when using a js number object as argument