Fix JS to reflect changes in server-side control icon templates