This fixes #135 and allows toastr to be optimized by r.js