Fix jshint violations. ref #302