implements HTML5 layout
fix typos
add OOP javascript