fix time incorrect.
add test file. (using qunit.js).
update test.
update readme