Elevator Problem + JS + Jasmine