added javascript to get frequency button to work
Fixes merge.