update index.html for new send_callback function.