Adding Jasmine tests.  Adding documentation.