protocol independent path to jquery migrate