DTA technique for JavaScript optimizing compilation mode