<?php <script>var js_array = <?php echo json_encode($php_array); ?>;</script>
You have javascript disabled. You will not be able to edit any code.