Javascript How To Implement This Flexible Layout Without Flexbox

Javascript How To Implement This Flexible Layout Without Flexbox