move getUnicodeCharacter utility method into util.js file