Moved existing tests to jasmine specs
Added dist target to generate dist files