Default [Q] Sending Tasker AutoRemote commands via Tizen app

I am sure there is a way to use javascript to send AutoRemote commands from my Gear 2 to my phone. Does anyone have an idea of how? This would really improve the usefulness of the device for me, and I want to develop something like this.