Get rid of extra response json required in application.js