Woohoo! Tests working.
Remove test page
Slight refactoring in ka.js
Use codemirror