base.js worker