added karma local install and relative paths instead of constants