remove undefs; correct qunit exposure; whitespace