added quo js and fixed a bug in common.js