Bug 910722 - JavaScript linting rules are too strict

r=rik