Added catch for undefined values in QUnit.log for ok() assert