Fix JSHint errors

(cherry picked from commit 0b09acb7af0009dd0bc97ef73575da3094bbe7c4)
Upgrade QUnit to 1.13.0