Bug 1001888 - JSHint fixes for shared/js/test/unit

https://bugzilla.mozilla.org/show_bug.cgi?id=1001888