$().ready(-> $(window).resize( -> App.UI.setAutoHeight() ).trigger('resize') $('#js-search-contacts').keyup( (e) -> searchTerm = $(this).val() App.UI.filterContacts(searchTerm) ) )