Update validator.js
Update validator.js

Added string splitting for error message div Ids so JQuery selector will work properly for namespaced functions + minor clean up.
mosbymc/validator,mosbymc/validator