fix(modal): eliminate test jshint issues