updated comments throughout the files, removed whitespace, cleaned up Jasmine beforeEach block.