Fixed linking
Refactored file list to share config between karma and grunt