fix javascript to target only selected exception frames