assign_to.js bugfix

bug in removing assignment