Mirrored mrdavidlaing/javascript-koans, trying to solve