change jsonp to verify if online already
add intermediate page for redirecting