updated html template and js file
tr