Small tweaks
Add Jasmine specs