NSD-clear jslint errors in form validation