Example of how to use web workers with require.js