It's cleaner to have it in its own file than to cram it into util.js, so this commit moves it. https://bugzilla.gnome.org/show_bug.cgi?id=704707