Minor DOM appending order change