Put AB tests in new javascript

The format is different, but we are changing the format of everything.
Merge pull request #2809 from guardian/record-ab-new-ophan

Put AB tests in new javascript