Ignoring text() undefined value. Optimizing code size. Beginning to do tests.