Javascript and desktop Xojo

I have an HTMLViewer in a desktop app that I’d like to allow users to search and scroll to matching text (highlighted). Would this be possible using Javascript in a Xojo desktop app? If so, guess I’m going to learn Javascript!