No need to run trim on every class iteration in addClass, thanks for the heads-up...