Decode java exception object to js Error object. close #18

rt