Tkinter If Button Pressed Javascript For Web