Update libraries.js to fix throw $ is not defined

Reference: https://cloudup.com/c4FtrBr7vs1
Merge pull request #57 from cristiandouce/patch-1

Update libraries.js to fix throw $ is not defined