Fix the size calculation for the JavaScriptWithScopeElement.
Fix the DBPointer length.