Use reflexion methods for get method parameters

Use reflexion for get method parameters.
Generate javascript comment, only show parameters in the methods
parameters.
fixed #5