clean up html, js part 2, 3