update deprecated jasmine assertions
tweak docs