fixed dependencies, test folder structure, default directory (depending on kernel path) js setup fixes #9 fixes #6