Fix respondents controller and routes in JS