updating jshint and removing undefed vars - closes #56