getCollection JS API method

Today we added a new JS method called getCollection. This new method provides the ability to pull data from a given collection. This can be done in custom javascript or within a custom widget. The method will work on any page across a site. There is no need to connect a widget or page to a collection.