Added mean-med-mode js file

This else statement should be on the same line as the `}`