Improvements and adaptations for HTML5 process