Fix jshint errors and rebuild project