Added jsHint to enforce coding standards.

Yeah, we'll be doing the way he's got it here for this.  I don't like doing it that way for other situations (see: success/failure callbacks), but I'm not sure there's enough agreement on that to standardize it.