Add return statements after loops

As the CoffeeScript compiler will aggregate the last line in them and
return that as the result of the function. We can speed up things by
making it not do that
Merge pull request #298 from boris-petrov/add-returns

Add return statements after loops