added ajax setup to set timeout to 10 minutes