added variation js from google