The version with merges (not tested)  

see: https://github.com/petermetz/cordova-plugin-ibeacon/issues/60