Fixed Bugs with HTML5 init changes.