Provide bluetooth api for PhoneGap