PigLatin in JavaScript