HTML5 Web worker wrapper