add demo, transfer.js for compress