Fixed JSHint issues in plugins
Merge pull request #3112 from LaurentGoderre/v4.0-jshint

Fixed JSHint issues in plugins