fixing weakmap for safari
updating require
Merge pull request #1 from mattdesl/fix-weakmap

Use a better weak map implementation