modifications to utils.js content-type