it's better to get DOM elements after DOM ready event.