cleanup, add scratchpad
working data convert in scratchpad.js