Python Dictionary Method Get Url Parameters Javascript Editor