Ruby piglatin ported to JavaScript