hide layout artifacts until js loaded