Generates JavaScript routes for Yesod