fix jquery inventory