update ibeacon.js