destroy and create by respond with js (ajax)