Cleaned things up a bit
Edit now works without need of ajax commands