Made changes to suit Share.js

The following changes are made:
 - Deleted unused bcsocket.js
 - Modified index.html based on examples