If listener is a String then it's a client side listener unless it's an annotation.
e.g. onClick: "alert('Say hi from JS');"
e.g. onClick: "@command('save')"