cleanup
check for jquery validate - fixes #135