Bitcoin: Improve query parsing with decodeURIComponent