Disregard. Issue does not involve command_handler at all. Requires writing an extension.
Why you try to use 4.0? The latest version is 5.02.
Find out more about migration in "Migrating your RhoMobile application to 5.X"
From 4.0 all JS API is in file "/public/api/rhoapi-modules.js" only
Retrieving data ...