[javascript] How to destroy a JavaScript object?