Get url redirect via jQuery