fix problem with no bower deps

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
fix issues with test.js first

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
fix karma not overriden

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>