Undefined in JS output generation script.

Prism should have a check to existing files (not only for CSS).