Update to receiver.js