This fixes Task#19110 :Changing project deletes users

http://squish.ish.com.au/tasks/19110
The bug was caused by use of .html instead of .append in javascript which replaced the original data.