simplify google js