JS fixed on craete and delete business