browserVersions = {
"Opera": "25",
"Firefox": "34",
"Chrome": "39",
"MSIE": "9",
"Safari": "5"
};
var browserName = "Chrome";
var version = browserVersions.browserName;
browserVersions.Chrome // 39