Convert unicode char to \uXXXX. example use in Firefox Add-on