Refactor building of setting args into helper method
Register non-active widget settings as well
Only apply jshint to staged JS files