initial checking
clean up code and indent
translate comments to English
only output google analytics actions if GA is configured
add documentation
add information about maps API errors
remove debugging information