Bug 984265 - JSHint fixes for shared/js
Merge pull request #17234 from gasolin/issue-984265

Bug 984265 - JSHint fixes for shared/js, r=timdream