add js and images directories