Added assignment for HTML5 platform

Remove unnecessary lines