Python Dictionary Method Get Url Parameter In Javascript