modular: resolving jshint issues