ub_layout.js – Fit block elements to viewport and lots of useful things

ub_layout.js makes block elements scrollable within the viewport including tables.

It also has lots of other useful functions to add search and sorting to tables.