Added assignment for HTML5 platform

Like here.