LPS-31120 Add preserveRatio logic to portal-web/docroot/html/js/liferay/logo_editor.js