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.
[UPDATE]Suppressed multi popup & added function handlePageUpdate()

The maps in index.html & map-online.html display the same pop up.


added function handlePageUpdate():
/*
 * Handles the pages dynamic refresh.
 * If it detects the offline mode, the reload process is not triggered.
 * Handled pages:
 * /index.html
 * /data-filtered-all.html
 * /data-raw-all.html
 * /charts.html
 * /map-online.html
 * If the page is not handled, throws an error.
 */
[UPDATE] *.html use now handlePageUpdate().
Merge pull request #2 from GoncalvesDavid/master

One more step toward iso-features.