fixed production-specific app tasks
fixed initial karma errors