add timeout to params and format utils.js