Added html pages and javascript code.