Fixed a few bugs
Added jasmine tests for JSoop