#68. Removed the g global param. Added jshint global declarations.
#68. Removed the g global param. Added jshint global declarations.