Adds JS demonstration

Reviewed in https://codereview.appspot.com/9835044/