discovered javascript append quirk