Fixed potential jquery race