Python Parse Url Get Query Javascript Array Length