mod: simple.js use the query object to call deliver & error