fix jquery weirdness