Fixed jquery.validate plugin! Can now actually use the required: { depends: <function> } pattern