adding jquery validate plugin.