update JS scripts and add new pages