added utils.js file