js clean up, ios progress check