In order to add a new extension type for a new icon type, you have to overwrite the alfresco.js getFileIcon function.
It would be nice to move the extns list from the current variable in the getFileIcon function to an object so we could add our own extension type by adding a property without having to override the whole function.
Like it's done for Alfresco.util.getFileIcon.types for example.