IDPF/epubcheck — pull request #401 by santoch (2014-07-22 20:06:37+00:00)
Title: NCHK-2897 ePubCheck is detecting invalid named entities in files other t...

...han html and xhtml, in .js files in this case
@apond
Only run the entity check on xhtml files. Delete unneeded code as SCRIPT_TYPES was a superset of VALID_TEXT_MEDIA_TYPES.