js => coffee / refactoring
refactoring coffee files