Bug 844100 - Add linter test to Travis-CI
Bug 844100 - follow up, exclude external shared/js/ files from lint
Bug 844100 - follow up, lint fix to all scripts
Merge pull request #8515 from timdream/bug844100-commit

Bug 844100 - Add linter test to Travis-CI & lint fixes, r=dale