Add JavaScript filetype handling

I add a jQuery extension that allows to obtain the filetype and
FontAwesome CSS icon class for well-known file extensions.