window.next = function() { $('button[type=submit]').trigger('click'); }