Code refctoring, enabled ajax deleting items on 3rd purchase step