Ensure document.querySelectorAll exists before loading prism

Prevents the few IE8 errors we're seeing due to Prism