fixed coffee script: view events