Ajax part added

test cases missing, will add soon
Not entirely sure what default is being prevented here.  The incoming data for the `success` function here is just HTML, right?