An Object Oriented Programming Method Documentation in javascript