updated layout + external links js