Initial commit.
Adding Jasmine tests.