added docs
Merge pull request #155 from RichardAvendano/refactor

added front end jsdocs