Closes #335 Decode the URI without the static file path, so file paths
can have illegal characters in it that would throw decodeURIComponent