remove ibeacon from bc.js and add object oriented event.