You can also use each instead of for
ex: $.each list, (index, val) ->