Add js settings, pass url for map from flask