Load scripts and styles only where required