Update popcorn.capture.js update deprecated methods

Latest version of popcorn.js has deprecated some methods

`listen()` -> `on()`
`unlisten()` -> `off()`
`trigger()` -> `emit()`