add js for docs