Less invasive jquery.compat script