Connecting Java to Javascript (IDW Color points)