Update notes for submitted changes

* Fix duplicate definition and scope in JavaScript