conform to jshint demands