ecmascript: Get rid of hex2bin and bin2hex. Duktape can already do this
ecmascript: When assigning one (value-)property to another make it behave as expected (copy value)

Fixes #2333