hide loading spinner on window load, not document ready