Form ajax wip

WIP. Need to be further developed after moving backend from sinatra to middleman (issue #60). Connected with issues #94 and #62