Asserts dont work in browsers