API v1.1 is difficult to work with in client-side Javascript, due to requiring authentication for all methods and there being no secure way to embed your credentials within a publicly available website. You’re apt to find more server-side programming examples than Javascript examples as a result.
The [node:126] page has a number of libraries with code examples available as well.