New Js

add to switch pages