<body>
<script>
window.x = 1;
var foo = 1;
foo = 2;
</script>
<script>
var bar = 1;
bar = 2;
// If we put next two tags on the same line, script ranges overlap and frontend gets wrong uiLocationToRawLocation.
</script>
<script>var baz = 3;baz = 2;</script>
</body>