Fixed main.js bad characters appearing.

Signed-off-by: Dom Pascal <dom@dompascal.com>