code refactoring
jasmine support