new method for replacing text and loading page without css lag