Implement extra endpoints for Javascript apps.