Use happen.js to mock browser events.