How to load JavaScript or stylesheet conditionally depends on backend config settings?

See also: