get plugin mathods without need for JSLINT

This always works because the function is garanteed to be
syntactically correct once it is parsed by nodejs, so I only
need to strip comments and "parse" the argument names.