added formatted_forms variable, so that we don't touch the DOM always