Added removal of spinner element on page load