make domtotex work with slimer.js