Revert encodedURI, commented line for js