ECMAScript function isolation analyzer