A few basic helpers for jasmine javascript