don't load google map <script> if loadAsynchronously is true.

- if loading asynchronously the script is loaded on the fly
move initialisation of infowindow variable

- not needed globally
- having it global was breaking the map if loaded asynchronously