fix minimatch to auto prefix with **/

fix requiring of node modules folders within browser
make syncronous to accomodate recursive nature