add js functionality to back button during vendor signup