put the G+ platform code in the same JS