Code: JsHint fixes in resource files.
Minor improvements.
Merge pull request #948 from am11/master

Code: JsHint fixes in resource files