changed file mode in utils.js