:lipstick: Fix indentation
:lipstick: Remove unnecessary fat arrows
:lipstick: move requires to top
:bug: Fix missing utf8 encoding

Wikipedia hashes UTF-8 strings. JS strings are ASCII strings, so hashing
file names containing non ASCII characters results in wrong hashes. That
results in wrong image URLs. Encoding the file names in UTF-8 before
hashing fixes this.