Fix support for single module using RequireJs