fix a bug
add comments
add an xhr module
update front.js
update demo