Added debugging to receiver.html