common require function; layouts use require() for ext libs like arbor/cola/etc