ajaxify the app