got sinon working by sticking in browser