#74 splitting logic (for require.js) in router lookup