JS plugin to link sizes of DOM elements