related content js and markup, upload markup fixes