Fix shouldAssert function
this.currentAssertionLevel was always undefined
Merge pull request #499 from DickvdBrink/Debug-assert

Fix shouldAssert function