Adding jasmine specs to test javascript implementations of datastructures