Re-adds querySuccess and queryFailure to app.js

They were removed accidentally