Added mean-med-mode js file

Having two shifts right in a row looks a little sloppy you might want to try the splice method, something like `arguments.splice(0,2);` should do it. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice