resized images, added js