address some PR feedback. Start to build out some Jasmine tests