Make use of require() compatible with using the engine as a RequireJS package