Fixed percentize to have trailing argument, renamed trim --> removeWhitespace