#JavaScript for #html encoding and decoding a value with #jQuery