Update tamagocci.js according to the new specs