My take on a jQuery validator plugin