rig up a clear button. wow this is some bad javascript