Referring to templates urls with require.toUrl