Mime related functions for Node.JS