added html and javascript