run JS functions on load and resize
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
// http://stackoverflow.com/a/1974797/778809
// Bind to the resize event of the window object
$(window).on("resize", function () {
equalHeights();
setHeights();
// Invoke the resize event immediately
}).resize();