formatrting in modal.js