Fixed annoying errors in Jasmine tests.
Refactored classes to not use Taka.extend.