Added PIPELINE_MIMETYPES to make the compress tag output text/javascript  versions application/javascript (major issue with bootstrap modals.