Adding HTML5 JS API - Part1: Webworkers and Websokets