Added assignment for HTML5 platform