A Javascript module to intercept Ajax requests