Don't include media.js where that is not necessary.