initial setup for html and js. fix #3.