Add section on JavaScript chaining

Adapted from the version in the whitehall styleguide.
Merge pull request #25 from alphagov/chaining-function

Add section on JavaScript chaining
Add section on JavaScript arguments

Adapted from the whitehall styleguide.