Regular expression for validating date javascript