Javascript Encode Decode

Result

Result