Bug 965512 - [CostControl] jshint fixes