add receive.js;
minor changes;