working on updating to HTML5