A small module for node and browser to calculate median.