Added methods for handling scanning for beacon
notifications.

Added the consts to the MyPlugin.js