connected the start_grid function to the gui via jquery