Removed duplicate document ready calls