Exercism.io Ruby and JavaScript