Remove weird js in image fragment