Readded the javascript match heights solution as a fallback.