Fixed safari jquery issue. Safari cant handle :not() as a selector