Fixes toastr for npm/browserify

I'll add you to the npm owners if you want, just let me know what your username is on NPM please