Update remotemediator.js
Update remotemediator.js

I think this is more readable, so I tried it in jsperf and it's slightly faster too! http://jsperf.com/for-vs-split-search-string
jonfu86/popcorn,daimajia/popcorn,candido1212/popcorn,sovanna/popcorn,UIKit0/popcorn,davyengone/popcorn,candido1212/popcorn,sander-git/popcorn,sovanna/popcorn,davyengone/popcorn,paesantonio/popcorn,daimajia/popcorn,bright-spark/popcorn,DigitalSismo/popcorn,bright-spark/popcorn,paesantonio/popcorn,jonfu86/popcorn,sander-git/popcorn