removed jquery error and added google function