<?php echo '<script>var foobar = ' . json_encode(['foo' => 'bar']) . ';</script>';
You have javascript disabled. You will not be able to edit any code.