Remove load PR function from js.