Have javascript working on the homepage. Adding friends is broken, suspect this is due to the addition of the group_id field in the table.