remove garbage code, add alt and title tags