add x=... in js