You can run a JavaScript widget version for free.
You make a basic html page to run on an old tablet or phone, and put the code in.
It's easier than it sounds. If you grab a basic html page template. Basically, you run a small .html page from the device itself.