added moment.min.js
split validate fields into a bunch of methods
added listeners to each element so that it will check the field as soon as the fields value is changed
typo