delay client-side JS execution until view finished updating