Fix syntax error in doc.ready in demand.js