fix build - jshint issues