update headers for transform squares and add browser support