Add event listener in ready() i/o attached(): safer