added title in html and js