it's better to add event after DOM ready.