added various fixes and the HTML5 data api