JS for dynamically converting edited profiles into text for immediate display