moved images out of javascript and into css