inventory manager is working with ajax