the ibeacon plugin depends on bc.js