@Mike_Duglas wrote an article on how to use Javascript from within Clarion. It describes using EasyHTML and custom HTML that uses Javascript and communicates each other.
You can read it here http://www.ingasoftplus.com/ClarionAndJavascript/index.html
Any questions, feedback etc are welcome!