Updates Non browser support after comments on #493 

I did these commits to know more how the QUnit code works and the JS style conventions.

All the changes were regarding the comments on the PR #493, but I didn't all that was commented based on my own judgement.

You can trash this all away as it would also be great to get a review or even accepting this PR. \o/