Fixed the 'google not defined' problem