Add info to queue.js and modify response.js to parse html+json responses only