Cleaner CoffeeScript for loop and fixed single cursor indentation issue.