BTChip JavaScript APIs