trying to fix require.js and URI/URITemplate