updated js files to porperly add images to each memory dynamically. Also created images for each memory type