Dev: Refactor to remove trailing whitespace (jshint)