ran jshint to reduce syntax errors