add wifi plugin and trying to separate the bc.js and ibeacon.js