JavaScript WebM encoder

webm.js is a simple one-page application that allows you to convert videos to WebM format, without any plugins or server-side involved. It is built upon FFmpeg which was ported to JavaScript using Emscripten. Since WebM is part of HTML5 stack, why can't we create one without leaving the browser?