Issue #1813186 by nod_: Integrate scripts/stylesheets from info/layout files with libraries.