Add section to JavaScript guide about naming

For standardised variable naming convenstions.