add js and image directories