Naive autofill with contacts

Not a good idea to use the global window scope probably