Create libraries in the UI to attach to pages with visibility rules. Module page https://www.drupal.org/project/library_manager Stability Secure Tags #Libraries Articles Library Reference Field #Libraries [Module] Library Attach [Article] Library Reference Field [Project update] Mantra Theme Override/Extend Libraries [Issue] Implement core management of 3rd-party FE libraries [Resource] Libraries can now be overridden and extended by themes