Sample app to test missing ajax function when the page is still open