Change JS to fix warnings from lint.
Add karma config file. Remove karma task from build grunt task.
Get application to work offline.