Upgraded to latest mailgun-js version
Added handleEvents method