Mime type

Tests are failing, but they will pass when Javascripts are merged.