added ajax setup