Added ib-receiver.js

Added in-receiver.js along with making a few modifications to some test
functions and objects. Also included ib-receiver.js to the index.html
file.