Updated frequency toggler to use onChange rather than binding jquery event to dom