removed some superfluous console.logging on page loading state change