Implement support for Vala callbacks from JS