LPS-39644 Upload logo causes javascript error