Updated return codes from jshint

jshint return codes changed after version 1.0, more information here:

https://github.com/jshint/jshint/issues/916#issuecomment-14808738
Merge pull request #156 from camilonova/patch-2

Updated return codes from jshint