title: TypeError: self.options.theme is undefined
body: <p>I have included jquery noty in my project but I get the following error <code>TypeError: self.options.theme is undefined</code> in this line of in the js file <code>self.options.theme.style.apply(self);</code>
  I have googled but no success.</p>
  
  <pre><code>  &lt;script&gt;
      $(document).ready(function () {
  
          $("#Send").click(function () {
              $.ajax({
                  type: "POST",
                  url: "RetrievePassword.aspx/SendNewPassword?email=" + $("#Email").val(),
                  contentType: "application/json;charset=utf-8",
                  success: function (result) {
                      //alert(result.d);
                      var n = noty({
                          text: 'A new password has been mailed', theme: 'default', layout: 'center', type: 'success', timeout: 3000, callback: {
                              onClose: function () {
                              }
                          }
                      });
                      window.location.href = 'Login.aspx';
                  },
                  error: function (response) {
                      var n = noty({ text: "An error occurred, either the email does not exists or is incorrect.", theme: 'default', layout: 'center', type: 'error', timeout: 2000 });
                  }
              });
          });
      });
  &lt;/script&gt;
  </code></pre>