adds method as a tag containing a param for a js doc