refactor for jshint compliance