Modify the JS for F.O.C