Bug 987761 - Folloup up toBug 965512 - [CostControl] jshint fixes