fixes to images and js