generating widget with q.js and dummy data