Add worker/no worker option. Fix build task to copy index.html to build directory.