Update index.html

make the make_X function work