$PATH resorted and syntax error fixed in coffeescript