javascript编程中window的location与history对象