Rewrote javascript transformations