node and browser (IE8+) compatible assertion library