(#1012) - move map reduce out

moves mapreduce.js into it's own repository loads via npm