Exit process if specs are not able to run.  

If the jasmine specs cannot be run the process exits. This addresses an issue we hit in which our CI environment simply hung if the specs couldn't be run.

Additionally, I fixed some JSHint that the specs were complaining about.