added more html5 functionality