protocol agnostic jquery