Fixes 232 Emojist only show once per line, fix indentation

Can't wait to fix it.
Javascript don't have native `string#replaceAll`.
`string.split(oldStr).join(newStr)` is the best way i found.