Protip Want to experiment with a JS library?
Many JS libraries attach their API right on window.
Head over to Moment.js (a fantastic library for time and dates) or Underscore.js and open up your dev tools. voila - instant sandbox.
From here you can experiment with the API right on your browser with the documentation right in front of you.