added changes panel, moved javascript to seperate file