In the layout view, add support for page-specific dependencies
Extract library loading into a separate route
Update UI text