Conform variable naming to Google standards.

Conforms data formatting logic to Google's JavaScript style
guidelines. Possible fix to issue #6.