Added commandName to constructor

@constructor.name does not work client side when minified