Ah ok. It looks like it needs the [jquery Validation plugin](https://github.com/jzaefferer/jquery-validation). I think we should either include that plugin, or remove this js block.