added active page JS