Bug 1084192 - JSHint fixes for apps/wallpaper

Re-basing the patch to re-run CI.

https://bugzilla.mozilla.org/show_bug.cgi?id=1084192