issue resoled- js, create thank you page