implement Command.prototype.name()
Merge pull request #264 from tonylukasavage/name_func

implement Command.prototype.name()
rm unused variable
Merge pull request #265 from zhiyelee/typo

rm unused variable