additional js changes for transformations