Javascript library for browsers and Node.js