Odd / Even kata, coded in Javascript