add event listeners only once on document object.