Remove confirm helper and use js ajax for non get requests