Fix _.extend returning an array instead of an object

Since for is the only line in the function coffee script returns an array. This causes options to be messed up everywhere _.extend is used