Fix travis and karma CI