added callback option to load_url