added java script response to controller class