Another JS kata