Patch 1

Fixes one typo and some jshint validation errors.