Experimental bi-way communication between ios and javascript