automate Karma with Grunt, fix nooscript tests that failed in Karma