Added karma dependency check and version check.