Add routes to JS