Python Json String Get Function In Javascript