I am not the developer of Fossil.
If you would like to know more about JavaScript I can link you a YouTube tutorial?
I haven't done any true work with or for fossil.