Doc global variables approach (for #318)

Based on Steve's feedback about not using the `<style>` example, I've gone for a simple username `firstName` and `lastName` example instead and added further prose. 

Happy to update as needed.