fix js output for GA