Update useful.js