Adds examples of using the js api

This (at least partially) addresses #15 by adding some simple examples of consuming dredd in a js environment.