a simple one page with javascript