Bug 1001888 - JSHint fixes for shared/js/test/unit r=etienne