Image upload changes and handling css & js errors