Added validate option and fixed jquery web browser detection $.browser