Execute Javascript when enter or exit a region (iBeacon region or Circular region)