Defining routes and generating URLs with JavaScript