fix lint warnings for tracks.js - first pass

found on codeclimate. this is the first pass