TypeError: $w(...)[data.command] is not a function

Will take a look onto it when i am back home (2-3-hours).