View random-user.js
// jQuery script for validating user input
$(document).ready(function () {
$('#random-user').append("Form submitted successfully!");
$('#random-user').validate({
// initialize jquery validation plugin
rules: {
count: {
required: true
},