lots of code, added jasmine standalone for specrunner