Add karma
Fix lint error
Fix
Fix
Fix
Merge pull request #1 from pine613/feature/karma

Add browser tests