Remove unnecessary @media rules move google api call to top of page