Minor fixes, found by jshint.

One missing 'new', one place where CheckObjectCoercible could be used, one `==` that should be a `===`.