Added basic function call.
Finished JavaScript.
Merge branch 'javascript' of https://github.com/CraigPhillips/pagedemo into javascript