Add test binding javascript func to java object