[#52359171] basic js for the new flow