Jshint basic fix

Fixed the issues that existed from running JSHint. This should allow Travis-CI to finish with success.