add js data transform to other script templates

facetting broken;  need to get code from test-speedimprove branch