more refactoring thanks to max
some ajax form submission stuff is working
ajax comments