Added _.defer to $.md and region.resize()