set display:none before ajax completion on finish page