Solved one codification problem and complete the documentation of the javascript file