Main JS Update