Stringify chunks and added event listeners.