Shelf's add and remove resource item ajax call modified