set wp.media library type, reuse frame instead of redefining
make configuration compatible with mu-plugin