change page of js