update js for new date archive