Update index.js
Update index.js

For readability of the output .JSON file, it is better to write:
document.getElementById('textarea1').value = JSON.stringify(*output_data*,null, 2);
instead of:
document.getElementById('textarea1').value = JSON.stringify(*output_data*);

[line 4626]
ricktu288/ray-optics,ricktu288/ray-optics