Process the custom lib object to extract and group properly.
Add bind polyfill.
Merge pull request #441 from remy/fix/custom-libs-438

Process the custom lib object to extract and group properly.