#123 changed reference in javascript