Fixes 232 Emojist only show once per line, fix indentation

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