avoid toLowerCase for every dependency, fixed demos, minor fixes