Make calendar and typeahead actually work