fix indentation
p
shortcut getElementById
move groups to initialize
render map before user acepting to share position