Fixed typeaheadmap to work with jQuery 1.9.1