Kth Factorial in CoffeeScript