fix lint warnings for tracks.js - third pass

found on codeclimate. this is the third pass