Set icon when assignee is changed in page (via JS)

The javascript code did not set icon, whereas the view script does.