updated demo page
added url functions for ajax call of async