Create boardworker.js