added ajax functionality in office