You need the decodeURIComponent()
Javascript function:
decodeURIComponent("Name%20Name") // "Name Name"
Decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or by a similar routine.
For more information see the documentation.