Only use the javascript redirect for In-Context