CoffeeScript list merge function