Added JavaScript interfaces for IAP