update from master: version 0.4.0
update from master: add scratch, update index.html