add js and image