Fix jshint should only check staged content

Fix #1