fixes html, and js