master: fix js for archive