remove the ibeacon logic from bc.js and let the event object oriented.