switch second .ready to .on