Update JS to use new recombination API