Simplify loadUrl by a line.