make the communication between Java and Javascript easily