Improved the define()-function for WebWorkers so it now supports the build-format too.