fixed warnings from jshint
added validation class to validation messages, updated example html to take advantage of class
ajaxFunction misnomer, changed to successCallback