replaced ajax.js with network.js