Fixed Safari node comparison, updated jQuery