For BITS conversion to HTML a modified version of this repo was used:

https://github.com/wendellpiez/JATSKit