Generate functions for accessing application routes & doing requests
Generate JS functions for XHR requests to Rails routes