Updated index.html to use setupMap() function.

Loading the script is not enough anymore.
Updated map-online.html

Removed redundant content.
Added map.js script src.
Added function calls to setup the map, display it & update it.
Updated map.js.

Made a function out of the script.
Updated common.js.

Added an argument to updateData() : deprecated will be supressed in the next commit.

Extracted popup creation from frame.

Added mapNewDataOnFullMap() to manipulate the map tab.