Renamed ibot.js to index.js
Tidied up index.js a bit.