Update get-from-google.js

updated code to be cleaner, working on final changes