Appease jshint warnings

It claims "a constructor name should start with an uppercase letter" and is concerned about a "possible strict violation" in the use of `this`.