basic impl!
rename log.js to 2.js
fix tiny bugs