Formatting function in utils.js, simple apps updates