Media processing library in Javascript