No you don't....... That's the whole point of the API and these functions, as stated, can run on any devices....
My last hint for this, because then I gonna make your controller myself and that I don't want to
Then please, if it's about JS, open a new topic, this one was basically to present the plugin