better jquery version compatibility