Code: JsHint fixes in resource files

Minor improvements.