Javascript edited and images removed