how to display error message in html using javascript