Add ajax submit

ugly but useful.....