Refactored: jshint