Remove references to old images
Remove unused js code