this is a simple jquery validate plugin