code reorganization
remove ajax requests and reorganize as self-submitting page
bit of code cleanup