Added getSource support to the test page

Added getSource support to the test page
Let's not use any JS libraries yet -- I feel JS frameworks are an all-or-nothing decision (i.e. either you write your whole application in the JQuery / AngularJS / Closure style, or you don't use it at all). Choosing to use a library/framework also incurs the overhead of needing to understand a particular library in order to read the code. Since you're only using it for one command, I'd remove this include and use just raw JS for now.