I am using JQuery to submit a form without reloading the page, I have my code below and a screenshot of my error. Please tell me what I am doing wrong?

Code:

```
<script>
    $(document).ready(function() {

        $('form').submit(function (event) {
            event.preventDefault();
      var username = $("#username").val();
      var email = $("#email").val();
      var password = $("#password").val();
      var cpassword = $("#cpassword").val();
      var register = $("#register").val();
            $(".form-message").load("inc/register.php", {
                username: username,
        email: email,
        password: password,
        cpassword: cpassword,
                submit: register
            });
        });

    });
</script>

```

Screenshot:
<http://prntscr.com/im6oz6>

Thanks for the help,
Ethan!