remove unnecessary jshint output lines

jshint outputs empty lines and the "n errors" line at the end of its
output. discard these lines instead of adding them to the location list,
so that the location list contains only relevant information
(warnings/errors).