turning off the console log to see if it makes a difference in the loading time of the switches page.