Run jshint as part of build process and fix jshint errors