Base code for sampel html5 application