adjustment to new archive format
updated js