Modularized code, real testing framework (karma + jasmine + istanbul), Lots of new unit tests