writing text to DOM on app start