Fix map.js

The locName variable was not defined.
Also remove closePopupOnClick as it's the default value.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>