add simple profile edit stuff
split js between files