javascript remover acentos

JavaScript
string.normalize('NFD').replace(/[\u0300-\u036f]/g, "");
Source

Also in JavaScript: