moved files, added initial Jasmine tests