Update hprose for JavaScript

Rewritten WeakMap & Map for JavaScript.
Fixed a bug of HproseWriter.