core: made jsify recursive