added js to set height of wrapper