Move toastr initialization to a better spot