Add section on JavaScript arguments

Adapted from the whitehall styleguide.