removed the forms and ajax chapter and merged their contents into javascript and templates