fix js version prepare to remove UI.insert