Improve JSRoutesController