introduce jshint

I also changed the constants from being an object literal.  They are now defined by separate assignments