Uncaught Type Error: View is not a constructor

I have Uncaught Type Error : UserRegisterView is not a constructor.I dont understand this error.I looked all code but i dont find it.
Sorry of my bad english.Please help me

Thanks for answer

UserRegisterView is here

    var UserView = Backbone.View.extend({

        model:User,
        el: '#form',
        events: {
        'click input[id="infoWeek"]': 'infoWeek',
        'click input[id="infoMonth"]': 'infoMonth'
        },

        infoWeek: function() {

        this.$el.find("#dayOfMonth").hide();
        this.render();
          },

          infoMonth: function() {

            this.$el.find("#dayOfWeek").hide();
            this.render();

          }
 });




        var AddUserView = Backbone.View.extend({
        el: $(".page"),
        events: {
            'click #saveUser': 'saveUser'
        },
        saveUser: function () {
            var user = new User();
            user.set("username", $("#username").val());
            user.save();
            user.set("firstName", $("#firstName").val());
            user.save();
            user.set("lastName", $("#lastName").val());
            user.save();
            user.set("regNumber", $("#regNumber").val());
            user.save();
            user.set("password", $("#password").val());
            user.save();
            user.set("departmentName", $("#departmentName").val());
            user.save();
            user.set("email", $("#email").val());
            user.save();
            user.set("role", $("#role").val());
            user.save();

            if(document.getElementById('isOpen').checked) {
                user.set("isOpen", $("#isOpen").val("1"));
                user.save();
            } 
            else {
                user.set("isOpen", $("#isOpen").val("0"));
                user.save();
                }

            if(document.getElementById('dayOfWeek').checked) {
                user.set("dayOfWeek", $("#dayOfWeek").val());
                user.save();
            } 
            else if(document.getElementById('dayOfMonth').checked) {
                user.set("dayOfMonth", $("#dayOfMonth").val());
                user.save();
                }


            $("#username").val("");
            $("#firstName").val("");
            $("#lastName").val("");
            $("#regNumber").val("");
            $("#password").val("");
            $("#deparmentName").val("");
            $("#email").val("");
            $("#isOpen").val("");
            $("#dayOfWeek").val("");
            $("#dayOfMonth").val("");

        },
        render: function () {
            var that = this;
            var template = Handlebars.compile(UserRegister);
            var myHtml = template(that.model.toJSON());
            that.$el.html(myHtml);
            return this;
        }
    });

    return {
        AddUserView: AddUserView,
        UserView: UserView
    };

});


Source: stackoverflow-javascript