ecmascript: Make memory tracking work across all targets