Better usage of RequireJS shim