Add 'self' as global scope for web worker