fix compiler js