add html and js fmt