Add restler call to fetch URL.
Add checkURL wrapper.
Add callback.
Make checkURL be the callback funtion.
Put async callback into function(result) wrapper.
Clean up and make both local and remote fetching asynchronous.
Edit some comments.