Extended the phpdocs
Extended the jsdocs