JavaScript: trigger Event (Cable)