Close Method In Javascript Object Size Estimation