set up ajax stuff for abstractor app