fix didn't work for htmlpreview on github, back to regular script tag