Using online map from the JavaScript API