RequireJS in Web Worker

Note: workers can not access DOM. Use xmlHttpRequest for AJAX.