Reshuffled JS structure and prepared JS-TDD with Jasmine