Fix typo in ChangeLog
Fix JS example
Test that we get correct index on detach events for addressable ports
Automatically rewritten for npm.