add js-directories