Debugging js is hard :(