Added documentation with Docco.
Used _.each for loops