Add console.assert support