Code format fixes (coffeescript switch statement refactorings)