Have a look at webcore(you have to pay for it but you can use them demo version to try your ideas) if you want a version that will convert you Delphi code to JavaScript and have it run in any HTML5 compatible browser.
There are some online demos to try.
https://www.tmssoftware.com/site/tmswebcoreintro.asp