Looking at the toastr sources it looks like getOptions()
calls jQuery's $.extend()
method.
Toastr takes a dependency on jQuery, from the first line of the github readme:
toastr is a Javascript library for non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.
Just include jquery in your master view html.
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>