COMPILER: Js optim