Bug 984118 - JSHint fixes for test/unit.