Fixing simple jshint warnings.
Removing uncaught exception handler