Instead of calling the details-config.js you can call details.js directly. And you don't need to do it in a separate script tag!

You can simply add a data-main attribute to the script tag that loads require.js, like so: `data-main="/js/pages/details"`. You can see it in some examples like http://requirejs.org/docs/start.html#add