Made pages only expose a content method which takes a callback.

Also made the jasmine client page include the code we wish to test.