Moving functional javascript in to core concepts.
Merge pull request #18 from mikeal/master

Moving functional javascript in to core concepts.