Javascript passes the frequency to the display