Added flexible Google EE JS code