organized mstream.js.  Added a search function