Working local version without jasmine