Issue #2.  Load scripts and styles only when needed.