switch grid to js instead of python for easy viewing example