Rough first version of Q.js