Implemented JS to Phone communication.