Test non-image and javascript mime types are not rendered as HTML.